package com.sqx.modules.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.health.entity.UserAddress;

import java.util.List;

/**
 * <p>
 * 用户联系地址	 服务类
 * </p>
 *
 * @author gxy
 * @since 2022-04-08
 */
public interface IUserAddressService extends IService<UserAddress> {

    UserAddress getDefaultAddress(Long uid);

    Integer setDefaultAddress(Long id, Integer value);

    List<UserAddress> getAddressByUserId(Long uid);

    void delAddressById(Integer id);
}
